
'''
Make a button:

import ap_MixamoSelectAll
ap_MixamoSelectAll.selAll()

'''

import maya.cmds as cmds

cmds.select(clear = True)

def selAll(): # select all visible control objects in the current scene
    try:
        # selects all control objects in the original scene
        cmds.select( "Controls_SelectSet",add = True, visible = True)

    except ValueError:
        # selects all control objects in the referenced scene
        cmds.select("*:Controls_SelectSet", add = True, visible = True)

